package com.lollipop.synthential.algorithm;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * @Author: J.K
 * @Date: 2022-07-29 14:36
 * @Description: 权重服务节点
 */
public class WeightServers {

    /**
     * 权重服务列表
     */
    public static Map<String, Integer> WEIGHT_SERVERS = new LinkedHashMap<>();

    static {
        // 配置集群的所有节点信息及权重值
        WEIGHT_SERVERS.put("44.120.110.001:8080", 3);
        WEIGHT_SERVERS.put("44.120.110.002:8081", 2);
        WEIGHT_SERVERS.put("44.120.110.003:8082", 1);
    }
}
